asIterable

open override fun asIterable(): Iterable<Nothing>

Returns an iterable that wraps this Option returning its value if it is defined, or an empty iterable if the option is empty.

Return

An iterable that wraps this Option returning its value if it is defined, or an empty iterable if the option is empty.

Since

1.1